<template>
	<view class="car-com">
		<view class="car-com-img">
			<image :src="carShop.src"></image>
		</view>
		<view>
			<view class="car-com-labs">
				{{carShop.title}}
			</view>
			<view class="car-com-price" style="padding-top: 30rpx; padding-left: 30rpx; padding-right: 40rpx;">
				<text style="color: red;">
					￥{{carShop.price}}
				</text>
				<view class="car-num" >
					x{{carShop.conunt}}
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		name:"xdCom",
		props:['carShop'],
		data() {
			return {
				
			};
		}
	}
</script>

<style>
	.car-com-img {
		margin-top: 20rpx;
		width: 171rpx;
		height: 144rpx;
		background-color: #f8f8f8;
		border-radius: 20%;
	}

	.car-com-img image {
		width: 171rpx;
		height: 144rpx;
	}

	.car-com-labs {
		margin-left: 40rpx;
		width: 400rpx;
	}

	.car-com-price {
		display: flex;
		justify-content: space-between;
		margin-right: 20rpx;
	}
	.car-com{
		display: flex;
		justify-content: center;
		align-items: center;
	}
	
</style>